﻿<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeBehind="list.aspx.cs" Inherits="Forum.Web.Admin.SpiderLog.list" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../styles/dntmanager.css" rel="stylesheet" type="text/css" />
<link href="../styles/page2.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("[g='tr']").hover(function () { $(this).find("td").css("background-color", "#ccc") },
            function () { $(this).find("td").css("background-color", "#fff") });
        });
    </script>
<style>
.ckall
{
 display:block; height:21px; padding-top:9px; cursor:pointer;
}
#apDiv1 {
	width:360px;
	height:278px;
	border: 2px solid #CCCCCC;
	background-color: #FFFFFF;
	display: inline;
}
.tu_title {
	text-align: center;
	background-color: #f1f1f1;
	font-weight: bold;
}
.tu_content {
	height: 255px;
	text-align: center;
	line-height: 255px;
}
.tu_content img {
	padding: 2px;
	border: 1px solid #CCCCCC;
	margin-top: 6%;
}
.index_bk_01 {
	border: 1px solid #CCCCCC;
	height: 22px;
	line-height: 22px;
}
</style>
</head>
<script src="../js/public.js" type="text/javascript"></script>
<script src="../js/HBDivBox.js" type="text/javascript"></script>
<body>
<div id="apDiv1" style=" display:none;">
      <div class="tu_title">本内容所使用的缩略图</div>
      <div class="tu_content"><img  id="body_tu" src="../../WebSite_Sex/images/2008103016540785_S.jpg" width="280" height="200" /></div>
    </div>
    
<form id="form1" runat="server">
<div class="ManagerForm">
		<fieldset>
		    <legend style="background:url(../images/icons/icon10.jpg) no-repeat 6px 50%;">抓虫访问列表</legend>

        
<div class="MainDiv">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
                           <td height="40px;">  &nbsp;
                               <label>从<input name="textfield" type="text" id="text1" runat="server" class="index_bk_01" style="width:65px;" title="输入起始日期,如:2008-12-25">到<input name="textfield" type="text"  id="text2" runat="server"  class="index_bk_01"  style="width:65px;"  title="输入结束日期,如:2008-12-26"></label>
</td>
        <td width="200" style="display:;">

<input name="textfield" type="text"  id="textfield" runat="server"  class="index_bk_01"  style="width:120px;">
                              <input name="button" type="button"class="index_bk_01" id="button" value="搜  索" onclick="showurl();" style="background-color:White;"></td>
        <td>&nbsp;</td>
                           <td>&nbsp;</td>
                         </tr>
<script  type="text/javascript">
    var key = '<%=key %>';
function showurl()
{
    var key2 = hbctl_.$("textfield").value; //推荐
    var tf_stime = hbctl_.$("text1").value;
    var tf_ntime = hbctl_.$("text2").value;

    var url = "list.aspx?k=" + hbctl_.GetRound();
    if (key.length > 0 && key != " ") {
        url = url + "&key=" + key;
    }
    if (key2.length > 0 && key2 != " ") {
        url = url + "&key2=" + key2;
    }
    if (tf_stime.length > 7) {
        url = url + "&tf_stime=" + tf_stime;
    }
    if (tf_ntime.length > 7) {
        url = url + "&tf_ntime=" + tf_ntime;
    }
    
    window.location = url;
}
</script>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EAE9E1">
<tr bgcolor="#F2F2F2">
    <td height="2" colspan="7" bgcolor="#CCCCCC"></td>
    </tr>

  <tr bgcolor="#F2F2F2">
    <td width="80" height=35><strong>&nbsp;系统编号</strong></td>
    <td width="150" ><strong>&nbsp;访问时间</strong></td>
    <td ><strong>访问文件</strong></td>
    <td width="150" align="center"><strong>用户IP</strong></td>
    <td width="200" align="center"><strong>用户信息</strong></td>
    <td width="60" align="center"><strong>类型</strong></td>
    <td width="100" align="center"><strong>来源</strong></td>
  </tr>

    <asp:Repeater ID="Repeater1" runat="server">
   <ItemTemplate>
  <tr g='tr'>
  <td align="center" bgcolor="#FFFFFF" height=35><%#Eval("Spider_ID")%></td>
  <td  bgcolor="#FFFFFF" height=35><%#Eval("Spider_Time")%></td>
  <td  bgcolor="#FFFFFF"><%#Eval("Spider_ScriptName")%></td>
  <td align="center" bgcolor="#FFFFFF"><%#Eval("Spider_Ip")%></td>
  <td align="center" bgcolor="#FFFFFF"><input id="Text1" type="text" value="<%#Eval("Spider_UserAgent")%>" /></td>
  <td align="center" bgcolor="#FFFFFF"><%#Eval("Spider_RequestMethod")%></td>
  <td align="center" bgcolor="#FFFFFF"><%#Eval("Spider_Type")%></td>
    </tr>    
    </ItemTemplate>
    </asp:Repeater>
</table>
<br />

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td  height="30">
	  管理选项：
	  <select name="act" id="id_cz" >
	  </select>

调整分类:
      <asp:DropDownList ID="f_mululist" runat="server" > </asp:DropDownList></td>
  </tr>
  <tr>
    <td  height="30" align="right">
        <asp:Label ID="Label1" runat="server" ></asp:Label></td>
  </tr>
</table>
		</fieldset>
        <div class="Navbutton" style="display:none;">
11111111111111111
        </div>
        </div>
</form>
</body>
</html>
